import threading
from time import sleep


def say(name):
    print('你在说: %s' % name)
    sleep(2)


def sing(name):
    print('你在唱' + name)
    sleep(2)


thread1 = threading.Thread(target=say, args=('张三',))
thread2 = threading.Thread(target=sing, args=('李四',))

thread1.start()
thread2.start()
